/*
 * @Author: your name
 * @Date: 2022-03-08 17:23:03
 * @LastEditTime: 2022-03-27 19:25:42
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \blog_web\src\api\message.js
 */
import request from '@/request'

let { get: $get, post: $post } = request

// 发布留言
export const releaseMessage = (options) => $post('/message/release', options)
// 删除留言
export const deleteMessage = (options) => $post('/message/delete', options)
// 获取用户发布的留言
export const getMessages = (options) => $get('/message/who', options)
